package batframework.mvc.proxy;

public class DefaultProxy implements Proxy
{
	public Object getObject(Class<?> bean)
	{
		try
		{
			return bean.newInstance();
		} catch (InstantiationException e)
		{
			e.printStackTrace();
			throw new RuntimeException(e);
		} catch (IllegalAccessException e)
		{
			e.printStackTrace();
			throw new RuntimeException(e);
		}
	}
	
}
